package com.wang.pages;

import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.annotations.PageActivationContext;

@Import(library = {"context:assets/js/menupage.js", }, stylesheet = "context:assets/css/menupage.css")
public class Home {
	@PageActivationContext
	private String username;

	public String getUsername() {
		System.out.println("Home:" + username);

		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	void onActivate(String name) {
		System.out.println("***********" + name);
		username = name;
	}

}
